<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/common/_includes.jsp" %>
<jsp:include page="/WEB-INF/jsp/common/_scripts.jsp" />
<!DOCTYPE html>
<html>
<head>
<title>Helpcenter Content Add</title>
</head>
<body>
	<div class="ui grid">
		<div class="row">
			<div class="column">
				<div class="ui two column grid">
					<div id="container" class="thirteen wide column">
						<div class="alert alert-success w200 center-block text-center "
							style="display: none;" role="alert"></div>
						<ol class="breadcrumb">
							<li></li>
						</ol>
						<form class="form-horizontal" id="addForm" method="post" action="/helpcenter/update">
							<input type="hidden" name="id" id="id" value="${helpcenter.id }"/>
							<input type="hidden" name="level" id="level" value="${dataDictionary.level }"/>
							<div class="form-group">
								<label class="col-sm-2 control-label">节点名称</label>
								<div class="col-sm-5">
									<p class="form-control-static">${dataDictionary.text }</p>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">内容</label>
								<div class="col-sm-5">
									<textarea name="content" id="myeditor" style="width:632px;height:200px">${helpcenter.content }</textarea> 
								</div>
							</div>
							<div class="form-group" id="js_submit">
								<div class="col-sm-offset-3 col-sm-2">
									<button type="submit" class="btn btn-success">提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
	<script type="text/javascript"
		src="/static/vendor/jquery.validate/jquery.validate.js"></script>
	<script type="text/javascript" src="../../../resources/ueditor/ueditor.config.js"></script>
	<script type="text/javascript" src="../../../resources/ueditor/ueditor.all.js"></script>
	<script type="text/javascript">
	var editor = UE.getEditor("myeditor");
		$(function() {
			$("ol.breadcrumb>li").text("当前目录：" + window.parent.nodeName);
		});
	</script>
</body>
</html>